<div class="page-head">
	<h1 class="font-thin h4">询价单应收报价</h1>
</div>
<div class="list-body" ng-controller="newInquiryReceivaController">
	<div class="list-query">
		<div class="query-terms" ng-if="queryTermsFilterList[0].visible">
			<label class="control-label pull-left">总询价编号 ：</label>
			<input type="text" class="form-control input-sm query-term" ng-model="queryTerms.inquiryId" id="table_inquiryReceive_inquiryId" placeholder="请输入总询价编号" name="inquiryId">
		</div>
		<div class="query-terms" ng-if="queryTermsFilterList[1].visible">
			<label class="control-label pull-left">子询价编号 ：</label>
			<input type="text" class="form-control input-sm query-term" ng-model="queryTerms.inquiryChildId" id="table_inquiryReceive_inquiryChildId" placeholder="请输入子询价编号" name="inquiryChildId">
		</div>
		
		<div class="query-terms" ng-if="queryTermsFilterList[2].visible">
			<label class="control-label pull-left">客户单位 ：</label>
			<input type="text" class="form-control input-sm query-term" ng-model="queryTerms.clientName" id="table_inquiryReceive_clientName" placeholder="请输入客户单位" name="clientName">
		</div>


		<div class="query-terms" ng-if="queryTermsFilterList[3].visible">
			<label class="control-label pull-left">调度专员 ：</label>
			<select class="form-control input-sm query-term tms-select" ng-model="queryTerms.dispatchOfficer" id="table_inquiryReceive_dispatchOfficer" name="dispatchOfficer" ng-options="x.id as x.realName for x in dispatchOfficerDropDown">
				<option value="">全部</option>
			</select>
			<!-- <span class="list-select-icon"></span> -->
		</div>


		<div class="query-terms" ng-if="queryTermsFilterList[4].visible">
			<label class="control-label pull-left">下单起始时间 ：</label>
			<input id="dataTime" datetimepicker plugintype="datetime" ng-model="queryTerms.beginTime" name="dataTime" placeholder="起始时间" class="form-control query-term" type="text"/>
			<span id="opendataTime" class="input-group-addon curpoint list-timepicker">
				<span class="glyphicon glyphicon-calendar"></span>
			</span>
		</div>
		<div class="query-terms" ng-if="queryTermsFilterList[5].visible">
			<label class="control-label pull-left">下单结束时间 ：</label>
			<input id="dataTimeEnd" datetimepicker plugintype="datetime" ng-model="queryTerms.endTime" name="endTime" placeholder="结束时间" class="form-control query-term" type="text"/>
			<span id="opendataTimeEnd" class="input-group-addon curpoint list-timepicker">
				<span class="glyphicon glyphicon-calendar"></span>
			</span>
		</div>
		<div class="query-terms" ng-if="queryTermsFilterList[6].visible">
			<label class="control-label pull-left">发货地址 ：</label>
			<input type="text" class="form-control input-sm query-term" ng-model="queryTerms.startAddress" id="table_inquiryReceive_startAddress" placeholder="请输入发货地址" name="beginaddress">
		</div>
	   
		<div class="query-terms" ng-if="queryTermsFilterList[7].visible">
			<label class="control-label pull-left">送货地址 ：</label>
			<input type="text" class="form-control input-sm query-term" ng-model="queryTerms.endAddress" id="table_inquiryReceive_endAddress" placeholder="请输入送货地址" name="endaddress">
		</div>





		<div class="query-terms">
			<label class="control-label pull-left"></label>
			<button id="table_inquiryReceive_search" ng-click="queryFunc()" class="btn tms-btn tms-btn-search" ng-class="{'disabled':querying}" ng-disabled="querying">
				<i class="fa fa-search" ng-show="!querying"></i>
				<i class="fa fa-spinner no-bordr" ng-show="querying" ng-class="{'fa-spin':querying}"></i>
				<span ng-show="!querying">查询</span>
				<span ng-show="querying">查询中...</span>
			</button>
		</div>

	</div>
	<div class="list-btn-area">
		<button class="btn tms-btn tms-btn-null"></button>
		<div class="list-filter-container">
			<tms-list-filter 
				tab-head-filter="tabHeadFilter(item)"
				query-terms-filter-list="queryTermsFilterList"
				tab-head-filter-list="tabHeadFilterList"
			></tms-list-filter>

		</div>
	</div>
	<div class="list-table">
		<div  ui-grid="gridOptions" id="table_inquiryReceive_gridOptions" ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="min-height:100px; height:{{heightA}}px;
			overflow:hidden; min-width:1650px;">
			<div class="watermark" ng-if="!gridOptions.data.length">暂无数据</div>
		</div>
	</div>


</div>